package org.study.r2dbc.boot.model;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 作用描述
 *
 * @author doveylovey
 * @version v1.0.0
 * @email 1135782208@qq.com
 * @date 2025年04月01日
 */
@Data
@Table("t_user")
public class User implements Serializable {
    private static final long serialVersionUID = 2514894978244339073L;

    @Id
    private Long id;
    private String name;
    private Integer age;
    private String email;
    private BigDecimal balance;
    private Boolean active;
}
